Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(encrypt): close encrypted volume if it is opened (backport #3140) #3151

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Sep 9, 2024

Which issue(s) this PR fixes:

Issue # longhorn/longhorn#9385

What this PR does / why we need it:

In the normal process of attaching a volume via CSI, the encrypted volume should be closed or inactivated before Longhorn attempts to open it.

Special notes for your reviewer:

Additional documentation or context

Full regression test:
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7529
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/7538/


This is an automatic backport of pull request #3140 done by Mergify.

In normal process of attaching a volume via CSI, the encrypted volume
should be in closed or inactivated state before Longhorn attempts to
open it.

ref: longhorn/longhorn 9385

Signed-off-by: James Lu <james.lu@suse.com>
(cherry picked from commit 04f95d2)
@derekbit derekbit merged commit 1453bcf into v1.6.x Sep 9, 2024
7 checks passed
@derekbit derekbit deleted the mergify/bp/v1.6.x/pr-3140 branch September 9, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants